Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update enzyme and remove enzyme-context-patch #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

didoesdigital
Copy link

https://www.npmjs.com/package/enzyme-context-patch points to a merged PR
showing it is no longer needed. This fixes the build.

Before this fix, I was getting this error when I ran yarn install:

error /Users/di/projects/github/react-aria-live/node_modules/enzyme-context-patch: Command failed.
Exit code: 1
Command: echo 'Patching from postinstall.' && bin/patch-enzyme.sh
Arguments:
Directory: /Users/di/projects/github/react-aria-live/node_modules/enzyme-context-patch
Output:
Patching from postinstall.
Patching enzyme dependency for Context fix
patching file node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js
Hunk #1 FAILED at 56.
Hunk #2 FAILED at 114.
Hunk #3 FAILED at 145.
3 out of 3 hunks FAILED -- saving rejects to file node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js.rej
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

https://www.npmjs.com/package/enzyme-context-patch points to a merged PR
showing it is no longer needed. This fixes the build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant